import { getSessionData } from './utils/localData'
//export const API_HOST = 'http://localhost:50808/Laundry-Management-System'
//  export const API_HOST = 'http://47.104.187.107:50808/Laundry-Management-System'
//  export const MY_HOST = 'http://116.85.52.170/washClothes/index.html'

//正式ip 118.31.2.132

export const API_HOST = 'http://118.31.2.132/Laundry-Management-System'
export const MY_HOST = 'http://118.31.2.132/washClothes/index.html'

export function getAgentsId(){
    //let AgentsId = "216"
    let AgentsId = getSessionData("xiyiAgentsId")
    return AgentsId
}

export function getToken(){
    //let token = "298bba8af0af487390e6478e3b27949f"
    let token = getSessionData("xiyiToken")
    return token
}